package com.ijiuchuang.jc_localization.contract.tools;

import android.app.ProgressDialog;
import android.content.Context;

import com.ijiuchuang.jc_localization.base.BasePresenter;
import com.ijiuchuang.jc_localization.base.BaseView;
import com.ijiuchuang.jc_localization.bean.bmob.signin.Student;

import rx.Subscriber;

/**
 * Created by Veev on 2016/7/15
 *
 * @link 384506557@qq.com
 */
public interface ToolsSignInContract {

    interface View extends BaseView<Presenter> {
        // do in here
        void showProgressDialog(ProgressDialog dialog);
        void dismissProgressDialog(ProgressDialog dialog);
        void showSetStudentDialog();
    }

    interface Presenter extends BasePresenter {
        // do in here
    }

    interface Model {
        // do in here
        void checkStudent(Context context, Subscriber<Student> subscriber);
        Student getCurrentStudent();
        void setCurrentStudent(Student currentStudent);
        void saveStudent(Context context, Student student);
    }
}
